package cn.pupil.springframework.beans.factory;

import cn.pupil.springframework.beans.BeansException;

/**
 * @Description: Bean工厂标记接口，实现此接口，既能感知到所属的 BeanFactory
 * @Author: pupil
 * @Date: 2024/11/11 下午 5:59
 */
public interface BeanFactoryAware extends Aware {
    /**
     * 设置bean工厂
     * @param beanFactory bean工厂
     * @throws BeansException
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
